package com.jf.identity.dao.visexamid;

import com.jf.identity.entity.ExamBaseParam;
import com.jf.identity.entity.Examinee;
import org.apache.ibatis.annotations.Param;

/**
 * 考生dao
 *
 * @author FCG
 */
public interface ExamineeDao {
    /**
     * 考生签到
     *
     * @param examBaseParam 考试信息
     *                      "examId": "考试计划编号",
     * @param examinee      考生信息
     *                      "uid":"UUID",
     *                      "examineeNum": "考生考号",
     *                      "idCardNum": "考生身份证号",
     *                      "dateTime": "签到时间",
     *                      "remark": "备注"
     * @return 成功条数
     */
    int insertExamineeSignInfo(@Param("examBaseParam") ExamBaseParam examBaseParam,
                               @Param("examinee") Examinee examinee);

    /**
     * 提交考生验证信息
     *
     * @param examineeVerifyInfos 考生验证信息 list
     *                            “uid":"UUID",
     *                            "orgCode": "机构代码",
     *                            "examId": "考试计划编号",
     *                            "examSessionNum": "考试场次编号",
     *                            "logicExamRoomNum": "逻辑考场号",
     *                            "deviceId": "设备id",
     *                            "examineeNum": "考生考号",
     *                            "idCardNum": "考生身份证号",
     *                            "verifyTypeId": "验证类型:1刷身份证；2指纹；3ID号验证；4人脸比对；5拍照；6人工审核",
     *                            "verifyResult": "验证结果,1通过,0未通过",
     *                            "dateTime": "验证时间2018/04/09 10:00:00"
     * @return 成功条数
     */
//    int insertExamineeVerifyInfo(List<ExamineeVerifyInfo> examineeVerifyInfos);



}
